﻿using System;
namespace Gx.Model
{
    [Serializable]
    public partial class E_EmployeeBasicInfo
    {
        private int _id;
        private int _cityid;
        private string _empnum;
        private string _empname;
        private string _empcard;
        private DateTime _empbirthday;
        private byte _empsex;
        private byte _empage;
        private byte _empculture;
        private string _empmobile;
        private string _urgentname;
        private string _urgentmobile;
        private short _empprovince;
        private short _empcity;
        private short _emparea;
        private short _empbanktype;
        private string _empbankcard;
        private byte _householdstype;
        private string _householdsaddress;
        private DateTime _gocompanytime;
        private DateTime _positivetime;
        private decimal _probationaryperiodsalary;
        private bool _ispositive;
        private int _depid;
        private int _levelid;
        private decimal _empbasicwage;
        private decimal _socialsecurityid;
        private bool _iswork;
        private DateTime _resignationtime;
        private byte _marrystatus;
        private string _emphight;
        private string _empweight;
        private string _emphealth;
        private DateTime _empjoinjobtime;
        private byte _empnature;
        private string _caption;
        private DateTime _addtime;
        private int _adduser;
        private DateTime _lastedittime;
        private int _lastedituser;
        public int Id
        {
            get
            {
                return _id;
            }
            set { _id = value; }
        }
        public int CityId
        {
            get
            {
                return _cityid;
            }
            set { _cityid = value; }
        }
        public string EmpNum
        {
            get
            {
                if (_empnum == null)
                {
                    return "";
                }
                return _empnum;
            }
            set { _empnum = value; }
        }
        public string EmpName
        {
            get
            {
                if (_empname == null)
                {
                    return "";
                }
                return _empname;
            }
            set { _empname = value; }
        }
        public string EmpCard
        {
            get
            {
                if (_empcard == null)
                {
                    return "";
                }
                return _empcard;
            }
            set { _empcard = value; }
        }
        public DateTime EmpBirthday
        {
            get
            {
                if (_empbirthday == DateTime.MinValue)
                {
                    return DateTime.Parse("1911-01-01");
                }
                return _empbirthday;
            }
            set { _empbirthday = value; }
        }
        public byte EmpSex
        {
            get
            {
                return _empsex;
            }
            set { _empsex = value; }
        }
        public byte EmpAge
        {
            get
            {
                return _empage;
            }
            set { _empage = value; }
        }
        public byte EmpCulture
        {
            get
            {
                return _empculture;
            }
            set { _empculture = value; }
        }
        public string EmpMobile
        {
            get
            {
                if (_empmobile == null)
                {
                    return "";
                }
                return _empmobile;
            }
            set { _empmobile = value; }
        }
        public string UrgentName
        {
            get
            {
                if (_urgentname == null)
                {
                    return "";
                }
                return _urgentname;
            }
            set { _urgentname = value; }
        }
        public string UrgentMobile
        {
            get
            {
                if (_urgentmobile == null)
                {
                    return "";
                }
                return _urgentmobile;
            }
            set { _urgentmobile = value; }
        }
        public short EmpProvince
        {
            get
            {
                return _empprovince;
            }
            set { _empprovince = value; }
        }
        public short EmpCity
        {
            get
            {
                return _empcity;
            }
            set { _empcity = value; }
        }
        public short EmpArea
        {
            get
            {
                return _emparea;
            }
            set { _emparea = value; }
        }
        public short EmpBankType
        {
            get
            {
                return _empbanktype;
            }
            set { _empbanktype = value; }
        }
        public string EmpBankCard
        {
            get
            {
                if (_empbankcard == null)
                {
                    return "";
                }
                return _empbankcard;
            }
            set { _empbankcard = value; }
        }
        public byte HouseholdsType
        {
            get
            {
                return _householdstype;
            }
            set { _householdstype = value; }
        }
        public string HouseholdsAddress
        {
            get
            {
                if (_householdsaddress == null)
                {
                    return "";
                }
                return _householdsaddress;
            }
            set { _householdsaddress = value; }
        }
        public DateTime GoCompanyTime
        {
            get
            {
                if (_gocompanytime == DateTime.MinValue)
                {
                    return DateTime.Parse("1911-01-01");
                }
                return _gocompanytime;
            }
            set { _gocompanytime = value; }
        }
        public DateTime PositiveTime
        {
            get
            {
                if (_positivetime == DateTime.MinValue)
                {
                    return DateTime.Parse("1911-01-01");
                }
                return _positivetime;
            }
            set { _positivetime = value; }
        }
        public decimal ProbationaryPeriodSalary
        {
            get
            {
                return _probationaryperiodsalary;
            }
            set { _probationaryperiodsalary = value; }
        }
        public bool IsPositive
        {
            get
            {
                return _ispositive;
            }
            set { _ispositive = value; }
        }
        public int DepId
        {
            get
            {
                return _depid;
            }
            set { _depid = value; }
        }
        public int LevelId
        {
            get
            {
                return _levelid;
            }
            set { _levelid = value; }
        }
        public decimal EmpBasicWage
        {
            get
            {
                return _empbasicwage;
            }
            set { _empbasicwage = value; }
        }
        public decimal SocialSecurityId
        {
            get
            {
                return _socialsecurityid;
            }
            set { _socialsecurityid = value; }
        }
        public bool IsWork
        {
            get
            {
                return _iswork;
            }
            set { _iswork = value; }
        }
        public DateTime ResignationTime
        {
            get
            {
                if (_resignationtime == DateTime.MinValue)
                {
                    return DateTime.Parse("1911-01-01");
                }
                return _resignationtime;
            }
            set { _resignationtime = value; }
        }
        public byte MarryStatus
        {
            get
            {
                return _marrystatus;
            }
            set { _marrystatus = value; }
        }
        public string EmpHight
        {
            get
            {
                if (_emphight == null)
                {
                    return "";
                }
                return _emphight;
            }
            set { _emphight = value; }
        }
        public string EmpWeight
        {
            get
            {
                if (_empweight == null)
                {
                    return "";
                }
                return _empweight;
            }
            set { _empweight = value; }
        }
        public string EmpHealth
        {
            get
            {
                if (_emphealth == null)
                {
                    return "";
                }
                return _emphealth;
            }
            set { _emphealth = value; }
        }
        public DateTime EmpJoinJobTime
        {
            get
            {
                if (_empjoinjobtime == DateTime.MinValue)
                {
                    return DateTime.Parse("1911-01-01");
                }
                return _empjoinjobtime;
            }
            set { _empjoinjobtime = value; }
        }
        public byte EmpNature
        {
            get
            {
                return _empnature;
            }
            set { _empnature = value; }
        }
        public string Caption
        {
            get
            {
                if (_caption == null)
                {
                    return "";
                }
                return _caption;
            }
            set { _caption = value; }
        }
        public DateTime AddTime
        {
            get
            {
                if (_addtime == DateTime.MinValue)
                {
                    return DateTime.Parse("1911-01-01");
                }
                return _addtime;
            }
            set { _addtime = value; }
        }
        public int AddUser
        {
            get
            {
                return _adduser;
            }
            set { _adduser = value; }
        }
        public DateTime LastEditTime
        {
            get
            {
                if (_lastedittime == DateTime.MinValue)
                {
                    return DateTime.Parse("1911-01-01");
                }
                return _lastedittime;
            }
            set { _lastedittime = value; }
        }
        public int LastEditUser
        {
            get
            {
                return _lastedituser;
            }
            set { _lastedituser = value; }
        }
    }

    public partial class E_EmployeeBasicInfo
    {
        public string DepName { get; set; }
        public string LevelName { get; set; }
    }
}
